<!---- SUI模板 on ${DATE} -->
<script ng-init="initCssAndJs()"></script>
<script ng-init="initCss('myshopper-page/css/module.css')"></script>
<header class="bar bar-nav">
    <a class="icon icon-left pull-left button-nav" href="#/personal-center"></a>

    <h1 class="title">我的购物车({{shopInfo.shopNum}})</h1>
    <span ng-click="deleteSelected()" class="icon icon-remove pull-right"></span>
</header>
<div class="content" ng-init="myshopper()">
    <div class="list-block" style="margin-top: 0rem">
        <div class="shopping">
            <div class="shop-group-item">

                <ul>
                    <li ng-repeat="x in shopInfo" >
                        <div class="shop-name">
                            <!--<input type="checkbox" class="check goods-check shopCheck ">-->
                            <i class="icon icon-form-checkbox"></i>
                            <h4>{{x.classType.typeName}}</h4>
                        </div>
                        <div class="shop-info">
                            <input  ng-model="x.isPreDelete" ng-change="change(x)" type="checkbox" class="check goods-check goodsCheck">

                            <div class="shop-info-img">
                                <img ng-if="!x.aClass.classImg" ng-click="getClassId(x.aClass.classId)" ng-src="page/home-page/img/1.png">
                                <img ng-if="x.aClass.classImg" ng-click="getClassId(x.aClass.classId)" ng-src="{{x.aClass.classImg}}">

                            </div>

                            <div class="shop-info-text" >
                                    <h4>{{x.aClass.classTitle}}</h4>
                                    <div class="content-padded"><p>
                                        {{x.aClass.classDetail | cut:true:42:'...'}}</p></div>

                                <div class="shop-price" style="margin-top: -0.6rem;font-size: 0.6rem!important;">
                                    <div class="shop-pices" style="font-size: .7rem!important;">¥<b
                                            class="price">{{x.aClass.classPrice}}</b></div>
                                    <div class="shop-arithmetic" style="border: none;text-align: center">
                                        <span style="z-index: 999999" ng-click="buyNow(x.aClass.classId,x.scId)">购买</span>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </li>
                </ul>

            </div>
        </div>
        <!-- 加载提示符 -->
        <div class="infinite-scroll-preloader">
            <div class="preloader"></div>
        </div>
    </div>
</div>
<div ng-if="listSize==0" class="card" style="border: none">
    <div class="card-picture" style="padding-top: 3rem;width: 5rem;margin: 0 auto">
        <img ng-src="page/myorders1-page/img/noorder.png" alt="" style="width: 5rem">
    </div>
    <div style="width: 5rem;margin: 0 auto;text-align: center;color: #eaeaea">购物车为空</div>

</div>
<div ng-init="suiMobileInit('')"></div>
